package com.amos.remote;

import com.amos.remote.hytric.BaseInfoHystric;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "spc-baseinfo",fallback = BaseInfoHystric.class)
public interface BaseInfoService {

    @RequestMapping(value = "/index/sayHi",method = RequestMethod.GET)
    String sayHiFromClientOne(@RequestParam(value = "name") String name);

}
